package com.ruoyi.project.agvQuene.mapper;

import java.util.List;
import com.ruoyi.project.agvQuene.domain.AgvExecution;

/**
 * AGV/CTU执行队列Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public interface AgvExecutionMapper 
{
    /**
     * 查询AGV/CTU执行队列
     * 
     * @param reqCode AGV/CTU执行队列主键
     * @return AGV/CTU执行队列
     */
    public AgvExecution selectAgvExecutionByReqCode(String reqCode);

    /**
     * 查询AGV/CTU执行队列列表
     * 
     * @param agvExecution AGV/CTU执行队列
     * @return AGV/CTU执行队列集合
     */
    public List<AgvExecution> selectAgvExecutionList(AgvExecution agvExecution);

    /**
     * 新增AGV/CTU执行队列
     * 
     * @param agvExecution AGV/CTU执行队列
     * @return 结果
     */
    public int insertAgvExecution(AgvExecution agvExecution);

    /**
     * 修改AGV/CTU执行队列
     * 
     * @param agvExecution AGV/CTU执行队列
     * @return 结果
     */
    public int updateAgvExecution(AgvExecution agvExecution);

    /**
     * 删除AGV/CTU执行队列
     * 
     * @param reqCode AGV/CTU执行队列主键
     * @return 结果
     */
    public int deleteAgvExecutionByReqCode(String reqCode);

    /**
     * 批量删除AGV/CTU执行队列
     * 
     * @param reqCodes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAgvExecutionByReqCodes(String[] reqCodes);

    List<AgvExecution> selectAgvExecutionListFinish(AgvExecution agvExecution);

    void updateReload(String guid);
}
